package com.example.sal.pojo;

import lombok.Data;

//技术类员工
@Data
public class Tech {
    private Integer id;
    private String name;
    private double baseSal;//基础工资
    private double award;//奖金
    private double score;//分数
    private double totalSal;//实发工资

    public Tech(String name, double baseSal, double score){
        this.name=name;
        this.baseSal=baseSal;
        this.score=score;
    }

    public Tech(double award) {
        this.award=award;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getBaseSal() {
        return baseSal;
    }

    public void setBaseSal(double baseSal) {
        this.baseSal = baseSal;
    }

    public double getAward() {
        return award;
    }

    public void setAward(double award) {
        this.award = award;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }

    public double getTotalSal() {
        return totalSal;
    }

    public void setTotalSal(double totalSal) {
        this.totalSal = totalSal;
    }
}
